package com.github.shiqiyue.app.modules.sys.service;

import com.github.shiqiyue.app.modules.sys.entity.OperLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.shiqiyue.app.modules.sys.enums.OperlogTypeEnum;

/**
 * <p>
 * 操作日志 服务类
 * </p>
 *
 * @author wenyao.wu
 * @since 2020-06-19
 */
public interface IOperLogService extends IService<OperLog> {

    /***
     * 添加日志
     * @param userId
     * @param operlogTypeEnum
     * @param content
     * @param targetId
     */
    void addLog(Long userId, OperlogTypeEnum operlogTypeEnum, String content, Long targetId);
}
